<extend name="layout/base"/>
<block name="css">
    <link rel="stylesheet" href="/js-vendor/editor.md/css/editormd.min.css" />
</block>
<block name="content">
    <article>
        <div id="editor">
            <!-- Tips: Editor.md can auto append a `<textarea>` tag -->
            <textarea style="display:none;">### Hello Editor.md !</textarea>
        </div>
    </article>
</block>
<block name="js">
    <script src="/js-vendor/editor.md/editormd.min.js"></script>
    <script type="text/javascript">
        $(function() {
            var editor = editormd("editor", {
                // width: "100%",
                height: "800px",
                // markdown: "xxxx",     // dynamic set Markdown text
                path : "/js-vendor/editor.md/lib/"  // Autoload modules mode, codemirror, marked... dependents libs path
            });
        });
    </script>
</block>